import Vue from 'vue'
import App from './App.vue'
import VueCookies from 'vue-cookies'
Vue.config.productionTip = false
import router from '@/router'
import 'amfe-flexible/index.js'
import {
  Rate,
  SubmitBar,
  Checkbox,
  Form,
  Button,
  Field,
  Toast,
  Grid,
  GridItem,
  Image,
  NavBar,
  Picker,
  Radio,
  RadioGroup,
  Popup,
  Dialog,
  CountDown,
  NumberKeyboard,
  PullRefresh,
  Card,
  Tab,
  Tabs,
  List,
  Notify,
  Step,
  Steps,
  DatetimePicker,
  Collapse,
  CollapseItem,
  Cell,
  Icon,
  Switch,
  Uploader,
  Row,
  Col,
  Sidebar,
  SidebarItem,
  Loading,
  CellGroup,
  Search,
  Swipe,
  SwipeItem,
  Tabbar,
  TabbarItem,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Area,
  SwipeCell,
  ContactCard,
  AddressEdit,
  AddressList,
} from 'vant'
Vue.use(Col)
Vue.use(Row)
Vue.use(Uploader)
Vue.use(Switch)
Vue.use(Icon)
Vue.use(Cell)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(DatetimePicker)
Vue.use(Step)
Vue.use(Steps)
Vue.use(Field)
Vue.use(Form)
Vue.use(Rate)
Vue.use(SubmitBar)
Vue.use(Checkbox)
Vue.use(Button)
Vue.use(Toast)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Image)
Vue.use(NavBar)
Vue.use(Picker)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(Popup)
Vue.use(Dialog)
Vue.use(CountDown)
Vue.use(NumberKeyboard)
Vue.use(VueCookies)
Vue.use(PullRefresh)
Vue.use(Card)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(List)
Vue.use(Notify)
Vue.use(Sidebar)
Vue.use(SidebarItem)
Vue.use(Loading) //CellGroup
Vue.use(CellGroup)
Vue.use(SwipeItem)
Vue.use(Swipe)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Search)
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(Area);
Vue.use(SwipeCell);
Vue.use(ContactCard);
Vue.use(AddressEdit);
Vue.use(AddressList);
new Vue({
  render: h => h(App),
  router
}).$mount('#app')
